package com.xinsilu.hospital.service.impl;

import com.xinsilu.hospital.entity.DischargeTable;
import com.xinsilu.hospital.mapper.DischargeTableMapper;
import com.xinsilu.hospital.service.IDischargeTableService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ym
 * @since 2021-09-22
 */
@Service
public class DischargeTableServiceImpl extends ServiceImpl<DischargeTableMapper, DischargeTable> implements IDischargeTableService {

    @Autowired
    private DischargeTableMapper dischargeTableMapper;

    @Override
    public boolean tianjia(DischargeTable dischargeTable) {
        return dischargeTableMapper.tianjia(dischargeTable);
    }

    @Override
    public List<DischargeTable> allList(DischargeTable dischargeTable) {
        return dischargeTableMapper.allList(dischargeTable);
    }

    @Override
    public List<DischargeTable> goList(DischargeTable dischargeTable) {
        return dischargeTableMapper.goList(dischargeTable);
    }

    @Override
    public boolean xiugeiqian(DischargeTable dischargeTable) {
        return dischargeTableMapper.xiugeiqian(dischargeTable);
    }

    @Override
    public boolean jiaofei(DischargeTable dischargeTable) {
        return dischargeTableMapper.jiaofei(dischargeTable);
    }
}
